Espressif Systems /ESP32-C6 /TWAI0 /MODE

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as MODE

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (RESET_MODE)RESET_MODE 0 (LISTEN_ONLY_MODE)LISTEN_ONLY_MODE 0 (SELF_TEST_MODE)SELF_TEST_MODE 0 (RX_FILTER_MODE)RX_FILTER_MODE

Description

TWAI mode register.

Fields

RESET_MODE

1: reset, detection of a set reset mode bit results in aborting the current transmission/reception of a message and entering the reset mode. 0: normal, on the ‘1-to-0’ transition of the reset mode bit, the TWAI controller returns to the operating mode.

LISTEN_ONLY_MODE

1: listen only, in this mode the TWAI controller would give no acknowledge to the TWAI-bus, even if a message is received successfully. The error counters are stopped at the current value. 0: normal.

SELF_TEST_MODE

1: self test, in this mode a full node test is possible without any other active node on the bus using the self reception request command. The TWAI controller will perform a successful transmission, even if there is no acknowledge received. 0: normal, an acknowledge is required for successful transmission.

RX_FILTER_MODE

1:single, the single acceptance filter option is enabled (one filter with the length of 32 bit is active). 0:dual, the dual acceptance filter option is enabled (two filters, each with the length of 16 bit are active).

Links

() ()